﻿
package extremefx {
	/**
	 * A class can implement the <code>Observer</code> interface when it wants to be informed of changes in observable objects.
	 * @author Marcelo Volmaro
	 */
	public interface IObserver {
		/**
	     * This method is called whenever the observed object is changed. An
	     * application calls an <tt>Observer</tt> object's
	     * <code>notifyObservers</code> method to have all the object's
	     * observervables notified of the change.
	     *
	     * @param   observable		the observable object.
	     * @param   args			an argument passed to the <code>notifyObservers</code> method.
	     */
		 function update(pObservable:Observable, ...args):void;
	}
}
